import axios from './$http'


const cache = new Map();

const api = {
    clearCache() {
        cache.clear();
    },
    async send(url, data) {
        const result = await axios.post(url, data);
        return result;
    },
}

export default api;